clearall — Erase all variables
clearall
clears all data objects from the workspace. Scalars,
strings, matrices, and lists are cleared with the clear
function. As a special exception, eps
and pi
are not
affected. User function are also not affected. If you wish to remove
user functions you must do so explicitly with clear.
This is not an built-in function. This function
is normally loaded on start-up from the clearall.r
file in the
standard rlib
directory. Use of the -r
option, incorrectly
setting the RLAB_LIB_DIR
environmental variable, or modifying
clearall.r
may make this function unavailable.
Subsections